package com.cindata

class WorkflowInstanceCondition
{

    Integer executeSequence = 0
    String message
    String logs

    Component component

    WorkflowInstanceStage nextStage

    static belongsTo = [stage: WorkflowInstanceStage]

    static mapping = {
        autowire true
    }

    static constraints = {
        logs maxSize: 2048, nullable: true, blank: true
        component nullable: true, blank: true
        nextStage nullable: true, blank: true
        message nullable: true, blank: true
    }

}